package com.林子祺.CAT旅游系统.controller.contentmanagement;

import com.林子祺.CAT旅游系统.dao.deal.ChargeMoney;
import com.林子祺.CAT旅游系统.dao.login.RefreshLoginStatus;
import com.林子祺.CAT旅游系统.entity.login.LoginStatus;
import com.林子祺.CAT旅游系统.view.Menu;
import com.林子祺.CAT旅游系统.view.tour.buy.BuyComplete;

import java.awt.*;

public class Charge {

    public static void charge(double i){
        ChargeMoney.Charge(i);
        RefreshLoginStatus.Refresh(LoginStatus.name);
        BuyComplete.comp();
    }
}
